package service.info;

import org.apache.ibatis.annotations.Param;
import pojo.Info;

import java.util.List;

public interface InfoService {
    //管理者
    public Info getHuiXian(int id);
    List<Info> getAppInfoList(Integer pageIndex,Integer pageSize,String softwareName,String flatformId ,String categoryLevel1,String categoryLevel2,String categoryLevel3);
    int count(String softwareName,String flatformId ,String categoryLevel1,String categoryLevel2,String categoryLevel3);
    //审核通过
    int updateStatusTrue(int id);
    //审核不通过
    int updateStatusFalse(int id);
   //开发者
    int userKaicount(String softwareName,String flatformId ,String categoryLevel1,String categoryLevel2, String categoryLevel3, String status);
    List<Info> getuserKaiAppInfoList(Integer pageIndex,Integer pageSize,String softwareName,String flatformId ,String categoryLevel1,String categoryLevel2, String categoryLevel3,String status,int id);
    int addAppInfoList(Info info);
    Info getAppInfohuiXian(int id);
    int updateAppInfoList(Info info);
    Info APKchongMing(String APKName);
    Info softwareNamechongMing(String softwareName);

    int delByVersionAppId(int id);
    int delByInfoId(int id);

    int updateStatusshang(int id);

    int updateStatusxia(int id);

    int updateStatuszTai(int id);

}
